Skip to main content

populationVariance

Type

function

Summary

Returns the population variance of a list of numbers.

Syntax

populationVariance(<numbersList>)

Description

Use the populationVariance function to analyze the amount of spread in a list of numbers.

The population variance is a measure of how widely distributed the numbers in the numbersList are.

If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.

Parameters

NameTypeDescription

numbersList

A comma-separated list of numbers, or an expression that evaluates to such a list, or an array containing only numbers.

Examples

populationVariance(8,10,12) -- returns 2.666667
put populationVariance(studentScores) into field "Population Variance"

control structure: function

function: populationVariance, averageDeviation, variance, average, median, populationStandardDeviation, sum, standardDeviation

glossary: return, math operation

Compatibility and Support

Introduced

LiveCode 6.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?